package com.yipei.business.mapper;

import java.util.List;
import com.yipei.business.domain.MlServiceMessage;

/**
 * 服务消息Mapper接口
 * 
 * @author yipei
 * @date 2024-12-23
 */
public interface MlServiceMessageMapper 
{
    /**
     * 查询服务消息
     * 
     * @param id 服务消息主键
     * @return 服务消息
     */
    public MlServiceMessage selectMlServiceMessageById(Long id);

    /**
     * 查询服务消息列表
     * 
     * @param mlServiceMessage 服务消息
     * @return 服务消息集合
     */
    public List<MlServiceMessage> selectMlServiceMessageList(MlServiceMessage mlServiceMessage);

    /**
     * 新增服务消息
     * 
     * @param mlServiceMessage 服务消息
     * @return 结果
     */
    public int insertMlServiceMessage(MlServiceMessage mlServiceMessage);

    /**
     * 修改服务消息
     * 
     * @param mlServiceMessage 服务消息
     * @return 结果
     */
    public int updateMlServiceMessage(MlServiceMessage mlServiceMessage);

    /**
     * 删除服务消息
     * 
     * @param id 服务消息主键
     * @return 结果
     */
    public int deleteMlServiceMessageById(Long id);

    /**
     * 批量删除服务消息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMlServiceMessageByIds(Long[] ids);
}
